package com.androturka;

public class Filter {
	
	int filterid = 0;
	float magnitude = 0;
	int distance = 0;
	int cityid = 0;
	
	public Filter ( int filterid, float magnitude, int distance )
	{
		this.filterid = filterid;
		this.magnitude = magnitude;
		this.distance = distance;
	}
	
	public Filter ( int filterid, float magnitude, int distance, int cityid )
	{
		this.filterid = filterid;
		this.magnitude = magnitude;
		this.distance = distance;
		this.cityid = cityid;
	}
	
	@Override
	public String toString(){
		//return ( "Filter id : " + filterid + " magnitude : " + magnitude + " distance : " + distance  + " cityid : " + cityid );
		return ( "Minimum Deprem Büyüklüğü : " + magnitude + " Maksimum Mesafe : " + distance  + " cityid : " + cityid );		
	}
}
